OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 39
Dependencies 2
Dependents 0
Total lines 275
Lines of code 190
Logical lines of code 95
Comment lines 5
Methods 19
Properties 12

Methods 19

Method Rating Maintainability Complexity Lines of code
isRequestForUrl()
A
57 8 16
initSettings()
S
43 5 46
register()
S
50 5 27
defineShippingMethodClass()
S
53 3 26
getDefaultServiceName()
S
66 3 9
onIsEnabled()
S
71 2 6
__construct()
S
60 1 13
updateFormFields()
S
80 1 3
getPluginSettings()
S
82 1 3
getBaseShippingMethodClassName()
S
82 1 3
addShippingMethod()
S
73 1 5
onPluginActionLinks()
S
71 1 5
isCart()
S
80 1 3
isCheckout()
S
80 1 3
onAdminMenu()
S
78 1 3
initAdapter()
S
71 1 5
loadSettings()
S
70 1 6
getShippingMethodClassName()
S
79 1 3
registerFeatures()
S
72 1 5